package com.usian.service.imp;

import com.usian.mapper.UserMapper;
import com.usian.pojo.User;
import com.usian.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImp  implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User findByName(String uname, String pwd) {
        return userMapper.findByName(uname,pwd);
    }
}
